package com.stwitinc.redmine.res.issue;

import com.alibaba.fastjson.JSONObject;
import com.stwitinc.redmine.dao.DAO;
import com.stwitinc.servlet.rest.RESTResource;
import com.stwitinc.servlet.rest.ResourceMethod;
import com.stwitinc.servlet.rest.ReturnType;

public class IssueRes extends RESTResource
{
	@ResourceMethod(returnType = ReturnType.FORWARD, validateToken = false)
	public String get(String str) throws Exception {
		
		JSONObject data = DAO.newIssueDAO().getIssuseStatus();
		
		setAttribute("data", data);
		return "desktop/issue/issue.jsp";
	}
}
